package com.exam.service.impl;

import com.exam.dao.IAdminDao;
import com.exam.service.AdminService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class AdminServiceImpl implements AdminService {

    @Resource
    private IAdminDao admindao;

    @Override
    public List<Map<String, Object>> getAllAdmins() {
        return admindao.getAllAdmins();
    }

    public void setAdmindao(IAdminDao admindao) {
        this.admindao = admindao;
    }
}
